package com.bwf.jdbc2;

import java.sql.SQLException;
import java.util.ArrayList;

/**
 * @Version v1.0
 * @Description: TODO
 * @Author ZHANZHONGXIN
 * @Date 2022/6/1 16:42
 * @Copyright 博为峰
 */
public class StuTest {
    public static void main(String[] args) throws SQLException {
        StudentDaoImpl studentDao = new StudentDaoImpl();
        ArrayList<Student> list = studentDao.list();
        list.stream().forEach(System.out::println);
    }
}
